#pragma once

#include<iostream>

#define DIE(code) do{exit(code);}while(0)

enum{
    USAGE_ERR = 1,
    SOCKET_ERR,
    BIND_ERR,
    LISTEN_ERR
};

const int gbacklog = 8;